<?php
/*fileName: 
 *internal version: 0001
 *version : 1.0.0 [programming] [official version]
 *author : HeShengyu
 *Date : 2014.07.21 
 *email: koolfer@163.com
 *end date:2014.08.23
 *http://www.cnblogs.com/ssnowy/
*/
//$_SERVER['SERVER_NAME']="192.168.1.199";
@define('DOMAIN', 'http://'
	.$_SERVER['SERVER_NAME'].':'
	.$_SERVER['SERVER_PORT'].'/'
);
date_default_timezone_set('Asia/Shanghai');
function class_create_fn($p){
	return new Clfn($p);
}
function secho($array, $eixt=0) {
	if(is_array($array)) {
		 echo '<pre>';
		 print_r($array);
		 echo '</pre>';
	} else {
		echo '<br>';
		echo shtmlspecialchars($array);
		echo '<br>';
	}
	if($eixt) exit();
}
?>